package com.ruoyi.project.data.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 运单报警信息对象 waybill_alarm_information
 *
 * @author ruoyi
 * @date 2020-04-27
 */
public class WaybillAlarmInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 运单编号 */
    @Excel(name = "运单编号")
    private String waybillNum;

    /** 报警类型（1-超期未称重） */
    @Excel(name = "报警类型", readConverterExp = "1=-超期未称重")
    private String alarmType;

    /** 报警原因 */
    @Excel(name = "报警原因")
    private String alarmReason;

    /** 报警时间 */
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 处理状态（0-待处理；1-已处理） */
    @Excel(name = "处理状态", readConverterExp = "0=-待处理；1-已处理")
    private String handlingStatus;

    /** 处理人 */
    @Excel(name = "处理人")
    private String handlingPerson;

    /** 处理时间 */
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handlingTime;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String handlingResult;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private Long stationId;
    private String stationName;
    private String carNumber;
    private String driverName;
    private String driverPhone;
    private String initiationTime;
    private String sendName;
    private Long waybillId;

    private SysDept sysDept;
    private String role;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWaybillNum(String waybillNum)
    {
        this.waybillNum = waybillNum;
    }

    public String getWaybillNum()
    {
        return waybillNum;
    }
    public void setAlarmType(String alarmType)
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType()
    {
        return alarmType;
    }
    public void setAlarmReason(String alarmReason)
    {
        this.alarmReason = alarmReason;
    }

    public String getAlarmReason()
    {
        return alarmReason;
    }
    public void setAlarmTime(Date alarmTime)
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime()
    {
        return alarmTime;
    }
    public void setHandlingStatus(String handlingStatus)
    {
        this.handlingStatus = handlingStatus;
    }

    public String getHandlingStatus()
    {
        return handlingStatus;
    }
    public void setHandlingPerson(String handlingPerson)
    {
        this.handlingPerson = handlingPerson;
    }

    public String getHandlingPerson()
    {
        return handlingPerson;
    }
    public void setHandlingTime(Date handlingTime)
    {
        this.handlingTime = handlingTime;
    }

    public Date getHandlingTime()
    {
        return handlingTime;
    }
    public void setHandlingResult(String handlingResult)
    {
        this.handlingResult = handlingResult;
    }

    public String getHandlingResult()
    {
        return handlingResult;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateId(String createId)
    {
        this.createId = createId;
    }

    public String getCreateId()
    {
        return createId;
    }
    public void setUpdateId(String updateId)
    {
        this.updateId = updateId;
    }

    public String getUpdateId()
    {
        return updateId;
    }


    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public String getInitiationTime() {
        return initiationTime;
    }

    public void setInitiationTime(String initiationTime) {
        this.initiationTime = initiationTime;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public Long getWaybillId() {
        return waybillId;
    }

    public void setWaybillId(Long waybillId) {
        this.waybillId = waybillId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("waybillNum", getWaybillNum())
            .append("alarmType", getAlarmType())
            .append("alarmReason", getAlarmReason())
            .append("alarmTime", getAlarmTime())
            .append("handlingStatus", getHandlingStatus())
            .append("handlingPerson", getHandlingPerson())
            .append("handlingTime", getHandlingTime())
            .append("handlingResult", getHandlingResult())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .toString();
    }
}
